package com.mzkj.common.utils;

import org.joda.time.DateTime;

import java.util.Random;

/**
 * Created by ianly on 16/10/13.
 */
public class OrderUilts {
    public static String generateOrderNumber() {
        StringBuilder sbd = new StringBuilder();
        sbd.append(DateTime.now().toString("yyMMddHHmmsssss"));
        Random random = new Random();
        sbd.append(random.nextInt(10));
        sbd.append(random.nextInt(10));
        return sbd.toString();
    }
}
